reflection static method c#

54

reflection static method c# -

foreach (var tempClass in macroClasses)
{
   // using reflection I will be able to run the method as:
   tempClass.GetMethod("Run").Invoke(null, null);
}

Comments

Submit
0 Comments